//
//  TGAlertView.h
//  YouDeOptimization
//
//  Created by apple on 2018/4/18.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TGAlertView : UIView<UITextFieldDelegate>

typedef void(^TGConfrimBlock)(void);


/************************************有处理时间的alertView****************************/
- (instancetype)initWithTitleArray:(NSArray *)titleArray AndTheConfrimString:(NSString *)confrimStr AndTheCancelString:(NSString *)cancelStr AndTheConfrimBlock:(TGConfrimBlock)confrimBlock AndBool:(BOOL)boolview;

- (void)show;
/************************************自动消失的alertView****************************/
+ (instancetype)createWithTitle:(NSString *)title;

@end
